package com.mvvm.serviceImpl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author fengyuan
 * @company tpsoft
 * @date 2018/11/12/012
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.mvvm")
@EntityScan(basePackages = "com.mvvm")
@EnableJpaRepositories(basePackages = "com.mvvm")
@ImportResource({ "classpath*:dubbo-*.xml" })
public class ServiceApplication {

    public static void main(String[] args){
     SpringApplication.run(ServiceApplication.class,args);
    }
}
